package com.wsoft.bpm.enums;

import lombok.Getter;

/**
 * 申请状态
 *
 * @author zhonglj
 * @date 2024-10-09 10:18
 **/
@Getter
public enum ApproveStatus {
    /**
     * 草稿
     **/
    DRAFT(0, "草稿"),
    /**
     * 审批中
     **/
    APPROVING(1, "审批中"),
    /**
     * 审批通过
     **/
    APPROVED(2, "审批通过"),
    /**
     * 已退回
     **/
    BACK(3, "已退回"),
    /**
     * 已驳回
     **/
    REJECT(4, "已驳回");

    private Integer value;
    private String desc;

    ApproveStatus(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
